package com.dana.system.service.sysuser;

import com.baomidou.mybatisplus.extension.service.IService;
import com.core.domain.Result;
import com.core.domain.vo.LoginUserVO;
import com.dana.system.domain.sysuser.SysUser;
import com.dana.system.domain.sysuser.dto.SysUserSaveDTO;


public interface ISysUserService extends IService<SysUser> {
    Result<String> login(String userAccount, String password);

    int add(SysUserSaveDTO sysUserSaveDTO);

    Result<LoginUserVO> info(String token);

    boolean logout(String token);
}
